package javabasics.netty.login.protocol.response;

import javabasics.netty.login.protocol.Packet;
import lombok.Data;

import static javabasics.netty.login.protocol.command.Command.MESSAGE_RESPONSE;

/**
 * @Author suxiaoxiao
 * @Date 2019/9/17 21:27
 * @Version 1.0
 */
@Data
public class MessageResponsePacket extends Packet {

    private String fromUserId;

    private String fromUserName;

    private String message;

    @Override
    public Byte getCommand() {
        return MESSAGE_RESPONSE;
    }

}
